<template>
	<view class="qrcode">
		<uni-nav-bar title="联系客服" color="#fff" leftIcon="left" backgroundColor="#F0DBB0;" :border="false"
			:statusBar="true" :fixed="true" titleClass="custom-title">
			<template v-slot:left>
				<view @click="$common.back()">
					<image src="/static/images/back.png" style="width: 32rpx; height: 32rpx" mode="scaleToFill" />
				</view>
			</template>
		</uni-nav-bar>
		<view class="code-box">
		</view>
		<!-- 按钮 -->
		<view class="button" @click="save">
			<view class="but">
				点击保存二维码
			</view>
		</view>
		<!-- 扫描图中二维码添加客服联系方式 -->
		<view class="text">
			扫描图中二维码添加客服联系方式
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		save(){
			console.log("保存成功");
			// this.req({
			// 	url:"",
			//     success: (res) => {
			//        console.log(res)
			//     },
			// })
		},
	}
</script>

<style lang="scss" scoped>
	/* 定义自定义标题样式 */
	.uni-nav-bar-text {
		span {
			font-weight: bold !important;
			/* 加粗 */
			color: white !important;
			/* 白色文字 */
			text-shadow: 0 0 1px #000,
				/* 基础描边 */
				0 0 1px #000, 0 0 1px #000,
				-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
		}
	}

	.qrcode {
		width: 100%;
		height: 100vh;
		margin: 60rpx 0;
		background-color: #F0DBB0;
		display: flex;
		flex-direction: column;
		align-items: center;
		overflow: hidden;
		.code-box {
			width: 550rpx;
			height: 529rpx;
			background: #FFF2D8;
			border-radius: 16rpx 16rpx 16rpx 16rpx;
			border: 4rpx solid #1D1D1D;
		}
	}

	.button {
		width: 90%;
		margin: 60rpx auto;
		border-radius: 20rpx;
		height: 96rpx;
		background: #F36058;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		border: 4rpx solid #1D1D1D;

		.but {
			text-align: center;
			margin: 20rpx 0;
			font-size: 32rpx;
			color: #fff;
		}
	}
	.text{
		width: 480rpx;
		height: 48rpx;
		font-family: Source Han Sans CN, Source Han Sans CN;
		font-weight: 500;
		font-size: 32rpx;
		color: #000000;
		text-align: center;
		font-style: normal;
		text-transform: none;
	}
</style>